package com.quick.im.common.entity.domian;

import com.quick.im.common.base.Page;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * message_record_offline :
 */
@Builder
@Data
@AllArgsConstructor
@NoArgsConstructor
public class MessageRecordOffline extends Page implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键 : id,
     */
    private Long id;

    /**
     * send_uid,  发送消息用户id
     */
    private Integer sendUid;

    /**
     * relationship_id,  关系id
     */
    private Integer relationshipId;

    /**
     * receive_uid,  消息接收用户id
     */
    private Integer receiveUid;

    /**
     * message_content,  消息内容
     */
    private String messageContent;

    /**
     * message_type,  消息类型
     */
    private Integer messageType;

    /**
     * message_status,  消息状态[1-发送成功,2-消息撤回,3-消息未接收,4-发送方删除,5-接收方删除,6-删除]
     */
    private Integer messageStatus;

    /**
     * send_time,  发送时间
     */
    private Date sendTime;


}
